/**
 */
package com.yunda.AJDeviceService.service;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunda.AJDeviceService.data.DeviceRunStatusData;
import com.yunda.AJDeviceService.data.DeviceRunTimeData;
import com.yunda.AJDeviceService.data.entity.GetRunTimeParam;

/**
 * AJDeviceService
 * @description
 * @author ljc
 * @create 2023年2月11日 上午10:36:07
 */
@Service
public interface DeviceRunTimeService extends IService<DeviceRunTimeData>{

	/** 
	 * TODO
	 * @param statusData
	 * @return 
	 * boolean
	 */
	void updateEndTime(DeviceRunStatusData statusData);

	/** 
	 * TODO
	 * @param param
	 * @return 
	 * double
	 */
	double getRunTime(GetRunTimeParam param);


}
